home *** CD-ROM | disk | FTP | other *** search
/ kermit.columbia.edu / kermit.columbia.edu.tar / kermit.columbia.edu / newsgroups / misc.19980424-19980901 / 000083_news@newsmaster….columbia.edu _Fri May 15 10:54:09 1998.msg < prev    next >
Internet Message Format  |  1998-08-31  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id KAA19977
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 15 May 1998 10:54:09 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id KAA04900
  7.     for kermit.misc@watsun; Fri, 15 May 1998 10:54:08 -0400 (EDT)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Fine-tuning kermit
  12. Date: 15 May 1998 14:54:05 GMT
  13. Organization: Columbia University
  14. Lines: 25
  15. Message-ID: <6jhkud$i8a$1@apakabar.cc.columbia.edu>
  16. References: <355C524C.CA8CE27C@inxpress.net>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8736
  19.  
  20. In article <355C524C.CA8CE27C@inxpress.net>,
  21. Bob Hartung  <bhartung@inxpress.net> wrote:
  22. : I have recently started using Kermit under DOS for telnet access to an
  23. : RS6000 and it's working fine.
  24. : My question has to do with refining the MSCUSTOM.INI file. Is there a
  25. : way when a user exits from the telnet session to have kermit
  26. : automatically close itself down with out having to type "EXIT" at the
  27. : kermit prompt?
  28. In Kermit 95 or C-Kermit you could use the -J ("be like Telnet") command
  29. line option, or the SET EXIT ON-DISCONNECT command, but MS-DOS Kermit does
  30. not have these features.
  31.  
  32. If you put a CONNECT command on the MS-DOS Kermit command line, it will exit
  33. the first time you escape back, but that's not what you want either.
  34.  
  35. The only thing I can think of would be something like this:
  36.  
  37.   define xx pause 0, if success connect, pause 0, if fail exit
  38.  
  39. and then use "XX" instead of "CONNECT".  The "PAUSE 0" command should fail
  40. if the connection disappeared.
  41.  
  42. - Frank